# for data in Planetoid.CiteSeer Planetoid.Cora Planetoid.PubMed Reddit; do
  # if [ -x "data/$data/raw" ]; then
nvprof \
--metrics stall_inst_fetch,stall_exec_dependency,\
stall_memory_dependency,stall_texture,stall_texture,stall_sync,\
stall_other,stall_constant_memory_dependency,stall_pipe_busy,\
stall_memory_throttle,stall_not_selected,gld_requested_throughput,\
gld_throughput,gld_transactions,flop_sp_efficiency,flop_count_sp\
nvprof --profile-from-start off \
`which python` GNNSwitch/gcn.py --run_type=dgl --dataset=$data 2> profile_$data.txt

`which python` GNNSwitch/gcn.py --run_type=dgl --dataset=$data 2> out_$data.txt

nvprof --print-gpu-trace `which python` GNNSwitch/gcn.py --run_type=dgl --dataset=$data 2> trace_$data.txt
  # fi
# done
